﻿using System;
using System.Collections;
using System.Security.Cryptography;
using System.Text;
using System.Collections.Generic;

using Project.IManager;
using Project.Model;
using System.Web;
using Project.Repository;

namespace Project.Manager
{
	public class ProvinceManager : AbstractManager<Province>, IProvinceManager
    {
    }

	public class CityManager : AbstractManager<City>, ICityManager
    {
		public ICityDao CityDao { get; set; }
		/// <summary>
		/// 获取指定省份下的所有城市
		/// </summary>
		/// <returns></returns>
		public IList<City> GetAllByProvince(string provinceCode)
		{
			return CityDao.GetAllByProvince(provinceCode);
		}

    }
}
